package com.qf.servelt;


import com.qf.entity.Profile;
import com.qf.service.ProfileService;
import com.qf.service.ProfileServiceImpl;

import javax.servlet.annotation.WebServlet;
import java.util.List;

@WebServlet("/profileList")
public class ProfileController extends BaseServlet{
        public List<Profile> getAll(){
            ProfileService profileService = new ProfileServiceImpl();
            List<Profile> list = profileService.getAll();

            return list;
        }

}
